package com.rzico.order.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by icssh on 2020/5/14.
 */

@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class  DistributionDetailVo {

    @ApiModelProperty(value = "商户名称")
    protected String mchName;

    @ApiModelProperty(value = "商户LOGO")
    protected String mchLogo;

    @Id
    @ApiModelProperty(value = "订单日期" )
    protected Date orderDate;

    @ApiModelProperty(value = "订单数")
    protected Long rc;

    @ApiModelProperty(value = "商品金额")
    protected BigDecimal subPrice;

    @ApiModelProperty(value = "包装费")
    protected BigDecimal packagingFee;

    @ApiModelProperty(value = "优惠券/红包" )
    protected java.math.BigDecimal couponDiscount;

    @ApiModelProperty(value = "交易佣金")
    protected java.math.BigDecimal fee;

    @ApiModelProperty(value = "骑手费用")
    protected java.math.BigDecimal riderFee;

    @ApiModelProperty(value = "运费(含楼层费)")
    protected java.math.BigDecimal freight;

    @ApiModelProperty(value = "店铺优惠")
    protected java.math.BigDecimal discount;

    @ApiModelProperty(value = "结算金额")
    protected java.math.BigDecimal distributionAmount;

}
